package com.austin.smp.service;


import com.austin.smp.common.api.ServerResponse;

import java.util.Map;


/**
 * @author austin
 * @since austin/6/27 13:54
 */

public interface PayInfoService {

    //path是用来存储qrPath支付二维码路径
    ServerResponse pay(Integer userId, Long orderNo, String path);

    //查看订单支付状态，用于在扫码付款成功后，会指引跳到订单查看页
    ServerResponse queryOrderPayStatus(Integer userId, Long orderNo);

    //支付回调处理
    ServerResponse alipayCallback(Map<String, String> params);


}
